package Ubi.App;

import java.util.ArrayList;
import java.util.Date;
import java.util.Dictionary;

import Ubi.Infrastructure.EventHandler;
import android.location.Location;

public class EventBase
{
	int 				m_Id;
	Date 				m_Date;
	Location 			m_Destination;
	Contact				m_Creator;
	ArrayList<Contact>	m_Awaiting;
	
	protected EventBase(Location dest, Date date, Contact creator)
	{
		m_Destination = dest;
		m_Date = date;
		m_Creator = creator;
		m_Id = EventHandler.GetNewServerId();
		
		m_Awaiting = new ArrayList<Contact>();
	}
	
	public void AddInvited(Contact invited)
	{
		m_Awaiting.add(invited);
	}
	
}
